<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
	<title>react-tabber demo - switch on hover</title>
	<link rel="stylesheet" type="text/css" href="../dist/theme/gray.css"/>
	<link rel="stylesheet" type="text/css" href="css/main.css"/>

	<script type="text/javascript" src="../node_modules/react/umd/react.development.js"></script>
	<script type="text/javascript" src="../node_modules/react-dom/umd/react-dom.development.js"></script>
	<script type="text/javascript" src="../node_modules/prop-types/prop-types.js"></script>
	<script type="text/javascript" src="js/babel.js"></script>
</head>
<body>
<div id="app"></div>

<script type="text/javascript" src="../dist/react-tabber.js"></script>
<script type="text/babel">
	const Demo = () => {
		return <ReactTabber triggerEvents="onMouseEnter">
			<ReactTabber.Label>title 1</ReactTabber.Label>
			<ReactTabber.Panel>content 1</ReactTabber.Panel>

			<ReactTabber.Label>title 2</ReactTabber.Label>
			<ReactTabber.Panel>content 2</ReactTabber.Panel>

			<ReactTabber.Label>title 3</ReactTabber.Label>
			<ReactTabber.Panel>content 3</ReactTabber.Panel>
		</ReactTabber>
	};

	ReactDOM.createRoot(document.getElementById('app')).render(<Demo/>);
</script>
</body>
</html>
